package com.hckj.jianzhijia.model;

import com.avos.avoscloud.AVObject;

/**
 * Created by 赵奇隆 on 2015-11-28.
 */
public class Region {
    public static final String TABLE_NAME = "region";

    private int regionId = -1;
    private String region = "";
    private int belongTo = -1;

    public Region(AVObject avObject) {
        this.region = avObject.getString("region");
        this.belongTo = avObject.getInt("belongTo");
        this.regionId = avObject.getInt("regionId");
    }

    public int getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(int belongTo) {
        this.belongTo = belongTo;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public int getRegionId() {
        return regionId;
    }

    public void setRegionId(int regionId) {
        this.regionId = regionId;
    }
}
